<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>Login Page | Amaze UI Example</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="format-detection" content="telephone=no">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link rel="alternate icon" type="image/png" href="assets/i/favicon.png">
    <link rel="stylesheet" href="static/assets/css/amazeui.min.css"/>
    <link rel="stylesheet" href="static/assets/css/login.css">
    <style>
        .header {
            text-align: center;
        }

        .header h1 {
            font-size: 200%;
            color: #78798d;
            margin-top: 30px;
        }

        .header p {
            font-size: 14px;
            color: #78798d;
        }
    </style>
    <!--script type="text/javascript" src="static/assets/js/jquery.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $('#register_button').click(function () {
                $('#input_username').hide();
            });
        });
    </script-->
</head>


<body>
<div class="am-g myapp-login">
    <div class="wrapper-page">

        <div class="header">
            <div class="am-g">
                <a href="index.html">
                <h1>漂流书单</h1>
                </a>
                <p>让我们在书籍的海洋里放飞自我吧</p>
            </div>
        </div>

        <div class="myapp-login-bg">

            <div data-am-widget="tabs" class="am-tabs am-tabs-d2">
                <ul class="am-tabs-nav am-cf">
                    <li class="am-active" id="register_panel"><a href="[data-tab-panel-0]">注册</a></li>
                    <li class="" id="login_panel"><a href="[data-tab-panel-1]">登录</a></li>
                </ul>

                <div class="am-tabs-bd">
                    <div data-tab-panel-0 class="am-tab-panel am-active" id="panel0">
                        <form action="" class="am-form" data-am-validator id="rp1">
                            <fieldset>
                                <div class="am-form-group" id="input_username">
                                    <label for="username_r">User Name</label>
                                    <input type="text" id="username_r" minlength="3" placeholder="请输入3位以上用户名"
                                           class="am-form-field" required/>
                                </div>
                                <div class="am-form-group">
                                    <label for="password_r">Password</label>
                                    <input type="password" id="password_r" minlength="5" placeholder="请输入5位以上密码"
                                           class="am-form-field" required/>
                                </div>
                                <div class="am-form-group">
                                    <label for="password_r1">Password</label>
                                    <input type="password" id="password_r1" minlength="5" placeholder="确认密码"
                                           data-equal-to="#password_r" class="am-form-field" required/>
                                </div>
                                <div class="am-form-group myapp-login-treaty"><label
                                        class="am-form-label"></label><label class="am-checkbox-inline"> <input
                                        type="checkbox" value="橘子" name="docVlCb" minchecked="2" maxchecked="4"
                                        required="">已同意使用条约 </label></div>
                                <button class="myapp-login-button am-btn am-btn-secondary"
                                         id="register_button" type="button">Register
                                </button>
                            </fieldset>
                        </form>
                    </div>

                    <div data-tab-panel-1 class="am-tab-panel" id="panel1">
                        <form action="login" method="POST" class="am-form" id="rp2">
                            <fieldset>
                                <div class="am-form-group">
                                    <label for="account">User Name</label>
                                    <input type="text" id="account" name="account" minlength="3" placeholder="请输入用户名"
                                           class="am-form-field" required/>
                                </div>
                                <div class="am-form-group">
                                    <label for="password_l">Password</label>
                                    <input type="password" id="password_l" name="password" minlength="5" placeholder="请输入密码"
                                           class="am-form-field" required/>
                                </div>
                                <!--div class="am-form-group myapp-login-treaty"><label class="am-form-label"></label><label class="am-checkbox-inline"> <input type="checkbox" value="橘子" name="docVlCb" minchecked="2" maxchecked="4" required="">已同意使用条约 </label></div-->
                                <br/>
                                <button class="myapp-login-button am-btn am-btn-secondary" id="login_button"
                                         type="submit">SIGN IN
                                </button>
                            </fieldset>
                            <legend>Forgot Password?</legend>
                        </form>
                    </div>

                    <div data-tab-panel-2 class="am-tab-panel" id="panel2">
                        <form action="login" method="POST" class="am-form">
                            <fieldset>
                                <div class="am-form-group">
                                    <label for="account">User Name</label>
                                    <input type="text" id="account" name="account" minlength="3" placeholder="请输入用户名"
                                           class="am-form-field" required/>
                                </div>
                                <div class="am-form-group">
                                    <label for="password_l">Password</label>
                                    <input type="password" id="password_l" name="password" minlength="5" placeholder="请输入密码"
                                           class="am-form-field" required/>
                                </div>
                                <!--div class="am-form-group myapp-login-treaty"><label class="am-form-label"></label><label class="am-checkbox-inline"> <input type="checkbox" value="橘子" name="docVlCb" minchecked="2" maxchecked="4" required="">已同意使用条约 </label></div-->
                                <br/>
                                <button class="myapp-login-button am-btn am-btn-secondary" id="login_button"
                                        type="submit">SIGN IN
                                </button>
                            </fieldset>
                            <legend>Forgot Password?</legend>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!--/div-->
<!--[if (gte IE 9)|!(IE)]><!-->
<script src="static/assets/js/jquery.min.js"></script>
<!--<![endif]-->
<!--[if lte IE 8 ]>
<script src="http://libs.baidu.com/jquery/1.11.3/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="static/assets/js/amazeui.ie8polyfill.min.js"></script>
<![endif]-->
<script src="static/assets/js/amazeui.min.js"></script>
<script src="static/assets/js/login.js"></script>
</body>
</html>
